﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace ATM_Banking_Service.Service
{
    [DataContract]
    public class CustomerInfo
    {
        [DataMember]
        public string customerId;
        [DataMember]
        public string customerPin;
        [DataMember]
        public long customerBalance;
        [DataMember] 
        public string customerStatus;
       

        public CustomerInfo(string id, string pin, long balance, string status)
        {
            customerId = id;
            customerPin = pin;
            customerBalance = balance;
            customerStatus = status;
        }
    }
}
